package com.mrsphoto.mrphoto.presenter;

import android.graphics.drawable.Drawable;

import com.mrsphoto.mrphoto.R;
import com.mrsphoto.mrphoto.impl.HomePhotoImpl;
import com.mrsphoto.mrphoto.model.IHomePhotoListener;
import com.mrsphoto.mrphoto.model.IHomePhotoView;

/**
 * Created by King on 2016/6/29.
 */
public class HomePhotoPressenter {
    IHomePhotoListener  listener=new HomePhotoImpl();
    IHomePhotoView iHomePhotoView;
    public HomePhotoPressenter(IHomePhotoView iHomePhotoView) {
        this.listener = new HomePhotoImpl();
        this.iHomePhotoView=iHomePhotoView;
    }

    public void toRight(){
           listener.toRight();
        iHomePhotoView.setDate();
        iHomePhotoView.addImagView(R.mipmap.ic_launcher);
    }

}
